<?php 
 /**
  * 
  */
 class Locationcat_model extends CI_model {
     
     function __construct() {
         parent::__construct();
		 $this->load->database();
     }
	 function getall(){
	 	 $this->db->select('id,name,des,image');
		 $this->db->from('locationCat');
		 $query = $this->db->get();
		 return $query->result_array();
	 }
 }
 
?>